package org.unit.testmgmt.generator;

import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.IProgressMonitor;
import org.unit.testmgmt.tml.UTMModel;

/**
 * Interface for the test-class-generators.
 * 
 * @author Robert Streng
 */
public interface ITestClassGenerator {
	/**
	 * Generates a test class with the model. The base is a class, general options and the tml-model.
	 * 
	 * @param model
	 * @param monitor
	 * @return the generate test class as saved file
	 * @throws Exception
	 */
	public IFile generate(UTMModel model, IProgressMonitor monitor) throws Exception;
}
